const keywordsRoutes = {
  path: 'keywords',
  name: 'Keywords',
  component: () => import('@/views/goods/index.vue'),
  meta: {
    title: '搜索关键词'
  },
  redirect: '/goods/keywords/search_keywords',
  children: [
    {
      path: 'search_keywords',
      name: 'SearchKeywords',
      component: () => import('@/views/goods/search-keywords/search-keywords'),
      meta: { title: '搜索关键词', noCache: true }
    },
    {
      path: 'add_keywords',
      name: 'AddKeywords',
      hidden: true,
      component: () => import('@/views/goods/search-keywords/add-keywords'),
      meta: { title: '新建关键词', noCache: true }
    },
    {
      path: 'edit_keywords',
      name: 'EditKeywords',
      hidden: true,
      component: () => import('@/views/goods/search-keywords/add-keywords'),
      meta: { title: '编辑关键词', noCache: true }
    }
  ]
}

export default keywordsRoutes
